package com.usian.service;

import com.usian.pojo.Emp;
import com.usian.utils.PageResult;

import java.util.Map;

public interface EmpService {

    public PageResult<Emp> findPage(Map<String,Object> searchMap, int page, int size);

    public Emp findById(Integer id);

    public int save(Emp emp);

    public int updateById(Emp emp);

    public int deleteById(Integer id);
}
